Crate grammers_mtproto

source ·
Expand description

This library is an implementation of the Mobile Transport Protocol.

It is capable of efficiently packing enqueued requests into message containers to later be encrypted and transmitted, and processing the server responses to maintain a correct state.

Modules

  • Contains the steps required to generate an authorization key.
  • Implementation of the Mobile Transport Protocol. This layer is responsible for converting zero or more input requests into outgoing messages, and to process the response.
  • Implementation of the several MTProto transports. This layer is responsible for taking serialized messages from the MTP and packing them in a format that can be sent over a protocol, such as TCP, HTTP or UDP.

Structs

  • A Message Identifier.

Constants